package com.flow.asyncflow.core.enums;

public enum AutoOperationEventState {
    Success(1, "成功"),//成功
    Fail(2, "点击"),//点击
    Executed(3, "已执行"),//已执行
    UnExecuted(4, "未执行"),//未执行
    ElementNotFound(5, "未找到元素"),//未找到元素
    ;

    private int code;
    private String msg;

    AutoOperationEventState(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public String getMsg() {
        return this.msg;
    }


    public int getCode() {
        return this.code;
    }

    public String getName() {
        return this.name();
    }
}
